package com.dqp.cslggroup.Util;

public class CheckClick {
    private static long lastClickTime;

    public static boolean isFastClick(int time) {
        int MIN_CLICK_DELAY_TIME=time*1000;
        boolean flag = false;
        long curClickTime = System.currentTimeMillis();
        if ((curClickTime - lastClickTime) >= MIN_CLICK_DELAY_TIME) {
            flag = true;
        }
        lastClickTime = curClickTime;
        return flag;
    }


}